package com.world.business.talisman.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.world.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * <p>
 * 符箓
 * </p>
 *
 * @author 邓驴
 * @since 2023-07-31
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("talisman")
@ApiModel(value = "Talisman对象", description = "符箓")
public class Talisman extends BaseEntity {

    @ApiModelProperty("主键Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("功能")
    private String effect;

    @ApiModelProperty("级别（字典）")
    private Integer level;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("来源")
    private String source;
}
